package io.github.topcatv.mall.friends;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient("xunliao")
public interface FriendsClient {
    @GetMapping("/friends/hello")
    Map hello(@RequestParam String name);
}
